import type { ElTable } from 'element-plus'
import type { TableColumn, TableSetProps } from './types'

export interface TableExpose {
  setProps: (props: Recordable) => void
  setColumn: (columnProps: TableSetProps[]) => void
  addColumn: (column: TableColumn, index?: number) => void
  delColumn: (field: string) => void
  elTableRef: InstanceType<typeof ElTable>
}
